package com.fita.admin.dao;

import com.demo2do.core.persistence.annotation.Dao;
import com.demo2do.core.persistence.annotation.Query;
import com.demo2do.core.persistence.annotation.Variable;
import com.fita.entity.set.Set;

/**
 * @author sjh
 */
@Dao("hibernate")
public interface SetDao {
 
	@Query("FROM Set WHERE disabled = false AND code = :code")
	public Set load(@Variable("code") String code);
}
